<style>
.page-goods-detail .seckill-container .seckill-list2 .fui-list-inner .text.timer span {
    background: #FF4444;
	font-weight:bold;
	font-size:0.7rem;
}
.fui-goods-item .detail .price .text {
    color: #FF4444;
}
.fee-tag-zi {
    background: linear-gradient(to right,rgba(255,68,68,1),rgba(255,162,162,1));
    color: #fff;
    width: auto;
    font-weight: 400;
    font-size: 0.6rem;
}
</style>
<div style="padding:0 0.5rem">
	<div class="page-goods-detail fui-goods-group block radius" style="margin-top:0">
            <div ng-repeat="item in pagedata.list" ng-click="access_json('jy_robshop/detail//id='+item.id)" class="fui-goods-item content-group" style="background:#fff;width:100%;padding:0">
				<div class="image" style="position: relative;height:8rem;padding-bottom:0;background: url({{tomedia(item.image) ||'../addons/jy_robshop/resource/images/nopic.jpg'}}) no-repeat 50%;background-size: cover;">
					<div ng-if="item.dongimg" class="c">
						<img class="icon" style="width:8rem;height:8rem;margin:0.5rem auto" ng-src="{{tomedia(item.dongimg)}}"/>
					</div>
				</div>
				<div ng-class="{'seckill-container':1,'notstart':item.hourtype==2}" style="background:#e8fcf8">
					<div class="fui-list seckill-list1" style="background:#FF4444;width:70%">
						<div ng-if="!item.isvip" class="fui-list-inner">
							<span class="text bold">￥<span style="font-size:1.5rem">{{item.price ||0.00}}</span></span>
						</div>
						<div ng-if="item.isvip" class="fui-list-inner">
							<span class="text bold">vip￥<span style="font-size:1.5rem">{{item.vipprice ||0.00}}</span></span>
							<span class="oldprice">￥{{item.price ||0.00}}</span>
						</div>
					</div>
					<div ng-if="item.rest_time" class="fui-list seckill-list2" style="background:#e8fcf8;width:6.5rem">
						<div class="fui-list-inner">
							<div ng-if="item.hourtype==0" class="text " style="color:red">距开始还有</div>
							<div ng-if="item.hourtype==1" class="text " style="color:red">距结束还有</div>
							<div class="text timer" style="color:red" ng-init="tool.time_down(pagedata.list[$index].rest_time)">
								<span class="time-day">{{pagedata.list[$index].rest_time.day}}</span>天<span class="time-hour">{{pagedata.list[$index].rest_time.hour}}</span>&nbsp;:&nbsp;<span class="time-min">{{pagedata.list[$index].rest_time.minute}}</span>&nbsp;:&nbsp;<span class="time-sec">{{pagedata.list[$index].rest_time.second}}</span>
							</div>
						</div>
					</div>
					<div ng-if="!item.rest_time" class="fui-list seckill-list2" style="background:#999">
						<div class="fui-list-inner">
							<div ngif="item.status==1" class="text" style="color:#666">今天已结束</div>
							<div class="text" style="color:#666">{{item.statustitle}}</div>
						</div>
					</div>
				</div>
				<div class="detail" style="padding:0.3rem">
					<div class="fui-list-group" style="height:auto;margin-top:0">
						<div class="fui-list jump" style="padding:0.2rem 0">
							<div class="fui-list-inner" style="border-right: 2px solid #efefef;">
								<div class="name bold"><i ng-show="item.active.title" class="fui-tag fui-tag-danger">{{item.active.title}}</i> {{item.title}}</div>
							</div>
						   <div class="fui-list-media" style="width:3.6rem;text-align:center;padding-left:0.5rem">
								<div class="fui-list-inner">
									<div class="num bold" style="font-size:0.8rem;color:#FF4444">{{pagedata.pluginset.no_salenum!=1?item.salenum:'******'}}</div>
									<div class="subtitle">抢购人数</div>
							   </div>
						   </div>
						</div>
					</div>
					<div class="saletime" style="padding-top:0.5rem;margin-top: 0.3rem;border-top: 1px solid #efefef;">
						<div>
							<span style="padding-left:0.5rem">
							每期抢购<span style="color:#FF4444">{{item.jian_days || 0}}</span>天
							</span>
						</div>
					</div>
					<div ng-if="item.status==1" class="fui-cellone" style="padding:0.3rem 0">
						<div ng-if="item.jian_openday==1" class="fui-cellone-info">
							【全天抢购中】
						</div>
						<div ng-if="item.jian_openday!=1" class="fui-cellone-info">
							【{{item.hourkey}}】
						</div>
						<div class="fui-cellone-remark noremark" style="margin-right:0">
						<span class="jylabel jylabel-success active" style="border: 1px solid #FF4444;background:#FF4444;padding:0.3rem 0.6rem;border-radius:1rem;font-weight:400">马上速抢</span>
						</div>
					</div>
					<div ng-if="item.status!=1" class="fui-cellone" style="padding:0.3rem 0">
						<div class="fui-cellone-info">
						{{item.statustitle}}
						</div>
						<div class="fui-cellone-remark noremark" style="margin-right:0">
							<span class="jylabel jylabel-default active" style="padding:0.3rem 0.6rem;border-radius:1rem;font-weight:400">查看详情</span>
						</div>
					</div>
					<div ng-if="item.members.length>0" class="fui-cell-group" style="border-top: 1px solid #efefef;">
						<div class="fui-cell" style="padding:0.5rem 0">
							<div class="fui-cell-info" style="width:9rem">
								<img ng-repeat="m in item.members" class="avatar" style="margin-right:-0.5rem" ng-src="{{tomedia(m.avatar) || '../core/resource/images/nopic.jpg'}}">
								<img ng-if="item.members.length>5" class="avatar" style="margin-right:-0.5rem" src="../addons/jy_weishop/resource/images/avatar-more.jpg">
								<span class="text" style="margin-left:1rem;color: #999;">等参与了抢购</span>
							</div>
							<div class="fui-cell-remark">	
							</div>
						</div>
					</div>
				</div>
			</div>
	</div>
	<div class="content-empty" ng-if="!pagedata.list || pagedata.list.length<1" style="margin-top:2rem">
		  <i class="icon jinyunicon icon-cry" style="width: 6rem;margin-bottom: 0.5rem;"></i><br/><p style="color: #999;font-size: .75rem">暂无相关抢购！</p>
	</div>
</div>
<script>
scope.tool.get_list('jy_robshop/cang/getlist/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_robshop/cang/getlist/');
}
</script>
